################################################
#
# BiscuitOS-PAGING-VM-PREALLOC-FILE
#
################################################
PK_PAGING_VM_PREALLOC_FILE_NAME        := BiscuitOS-PAGING-VM-PREALLOC-FILE
PK_PAGING_VM_PREALLOC_FILE_VERSION     := $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_VERSION)
PK_PAGING_VM_PREALLOC_FILE_SITE        := $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_URL)
PK_PAGING_VM_PREALLOC_FILE_GITHUB      := $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_GITHUB)
PK_PAGING_VM_PREALLOC_FILE_SUBNAME     :=
PK_PAGING_VM_PREALLOC_FILE_BUILDARCH   := $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_BUILDARCH)
PK_PAGING_VM_PREALLOC_FILE_DIR         := $(srctree)/package/PAGING/BiscuitOS-PAGING-VM-PREALLOC-FILE
PK_PAGING_VM_PREALLOC_FILE_PATCH       := $(PK_PAGING_VM_PREALLOC_FILE_DIR)/patch
PK_PAGING_VM_PREALLOC_FILE_BSBIT       := BiscuitOS-PAGING-VM-PREALLOC-FILE-$(PK_PAGING_VM_PREALLOC_FILE_VERSION).bsbit
PK_PAGING_VM_PREALLOC_FILE_OUT         :=
PK_PAGING_VM_PREALLOC_FILE_SCRIPTS     := $(srctree)/scripts/package/package-app.sh
PK_PAGING_VM_PREALLOC_FILE_TAR         := $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_TAR)
PK_PAGING_VM_PREALLOC_FILE_PACKAGE     :=
PK_PAGING_VM_PREALLOC_FILE_CONFIG      := $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_CONFIG)
SUB_TARGET                  += $(PK_PAGING_VM_PREALLOC_FILE_DIR)/build

PK_PAGING_VM_PREALLOC_FILE_sh = $(CONFIG_SHELL) $(PK_PAGING_VM_PREALLOC_FILE_SCRIPTS) \
                 $1X \
                 $(PK_PAGING_VM_PREALLOC_FILE_NAME)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_VERSION)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_SITE)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_GITHUB)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_SUBNAME)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_CONFIG)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_LIBPATH)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_CPPFLAGS)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_DPKCONFIG)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_CFLAGS)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_LDFLAGS)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_CXXFLAGS)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_ASFLAGS)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_BSBIT)X \
                 $(PK_PAGING_VM_PREALLOC_FILE_BUILDARCH)X \
		 $(PK_PAGING_VM_PREALLOC_FILE_CSRCFILE)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_SRCFILE)X \
                 $(CONFIG_PK_PAGING_VM_PREALLOC_FILE_CSRCFILE)

$(PK_PAGING_VM_PREALLOC_FILE_DIR)/build: FORCE
	$(Q)$(call PK_PAGING_VM_PREALLOC_FILE_sh,$(srctree))
